Prerequisite Quickstart
This is a quickstart guide to the prerequisites for quantum field theory.
Table of Contents
Calculus 1/2
Derivatives
If
As
This limit is called the derivative of
We can always take second derivatives, which are defined as the derivative of the derivative.
For example, the derivative of the velocity is called the acceleration, and is denoted as
For single-variable functions, the derivative can be visualized as the slope of the tangent line to the curve at a given point. If the slope is zero, then the function is at a local maximum or minimum. If the second derivative is positive, then the function is concave up, and if it is negative, then the function is concave down. If the second derivative is zero at a point, there is an inflection point at that point.
First derivative | Second derivative | Info |
---|---|---|
Increasing, concave up | ||
Increasing, concave down | ||
Decreasing, concave up | ||
Decreasing, concave down | ||
Local minimum | ||
Local maximum | ||
Horizontal inflection point | ||
Non-horizontal inflection point |
Here are some common derivatives:
and three useful rules:
-
Chain rule:
For example:
-
Product rule:
For example:
-
Quotient rule:
For example:
Implicit differentiation is a technique used to find the derivative of a function that is defined implicitly, rather than explicitly.
A full understanding of implicit differentiation requires some multivariable calculus, but the basic idea is to think of two variables
We make these variables functions of
Then, we can differentiate both sides with respect to
Multiplying both sides by
which we can rearrange to get
Integrals
Now suppose we know the velocity of a particle as a function of time,
As
This is called the definite integral of
where
-
Substitution: This is the reverse of the chain rule. For example, if we have
we can use the substitution
, which means . Substituting gives us -
Integration by parts: This is the reverse of the product rule. For example, if we have
we can use the formula
where
and . This gives us
There are some others that essentially boil down to using algebraic manipulation to rewrite the integral in a more convenient form.
Series
A sequence is a list of numbers. A series is the sum of a sequence.
For example, the sequence
The partial sum of a series is the sum of the first
where
The series diverges if the limit does not exist.
Below are the tests for convergence and divergence of series:
-
Divergence test: If
, then the series diverges. -
Integral test: If
is a positive, continuous, and decreasing function for , then the series converges if and only if the integral converges: -
Comparison test: If
for all , then the series converges if and only if the series converges. -
Limit comparison test: If
and for all , then the series converges if and only if the series converges:where
is a positive constant. -
Ratio test: If
, then the series converges if and diverges if . -
Root test: If
, then the series converges if and diverges if . -
Alternating series test: If
is a decreasing sequence of positive numbers and , then the series converges.
We can approximate any function as a power series, known as the Taylor series expansion.
It is defined so that all the derivatives of the function at a point
where
Calculus 3
Vectors
A vector can be thought of as a directed line segment. It has a magnitude (length) and a direction.
It is often represented as an arrow, with the tail of the arrow at the origin and the head of the arrow at the point in space.
A vector can be constructed as a linear combination of basis vectors.
Let
where
The vector
The length of the vector is given by the norm or magnitude of the vector, which is defined as
A unit vector is a vector with length 1.
It is often denoted with a hat, like this:
A linear transformation is a transformation that preserves the operations of vector addition and scalar multiplication.
For example, the transformation
is a linear transformation, because it preserves vector addition and scalar multiplication.
More precisely, a linear transformation
where
A matrix can be thought of as a linear transformation that takes a vector as input and produces another vector as output. For example, the matrix
acts on the vector
The matrix
Scalar Functions of Multiple Variables
Consider a function
We can also think of
When we take a derivative, we need to consider which variable we are taking the derivative with respect to.
The partial derivative of
The partial derivative of
The gradient of
The directive of
Next, consider two inputs
This is known as the multivariable chain rule. We can write this equation with a vector as
This is similar to the single-variable chain rule, where we have
The reason the gradient points in the direction of steepest ascent can be seen from the following argument.
Suppose we have a function
Taking the multivariable chain rule in Equation
We can write the change in
As the number of infinitesimal changes goes to infinity, we can replace the sum with an integral:
This is known as a line integral, and what we have derived is the fundamental theorem of line integrals or gradient theorem.
Vector Functions of Single Variable
A vector function is a function that takes a single variable as input and produces a vector as output.
For example, the function
The function
Next, suppose we have a velocity vector
This is similar to the line integral we derived earlier, but in this case, we are integrating over a time interval instead of a path in space.
The curvature of a curve is a measure of how much the curve deviates from being a straight line. Its value is given by the formula
For a curve in two dimensions, the curvature is given by
Vector Functions of Multiple Variables
A vector function of multiple variables is a function that takes multiple variables as input and produces a vector as output. It is also called a vector field.
For example, the function
The flux of a vector field
The total flux through the surface is given by the integral of the flux over the surface:
The flux is a measure of how much of the vector field passes through the surface. A related concept is the divergence of a vector field, which is a measure of how much the vector field spreads out from a singular point. We can find it by considering the flux-per-unit-volume as the volume shrinks to zero:
The divergence is defined as the limit of the flux-per-unit-volume as the volume shrinks to zero:
As the notation suggests, in Cartesian coordinates, the divergence of a vector field
The divergence is a scalar field, which means it takes a vector as input and produces a scalar as output.
The circulation of a vector field
The circulation is a measure of how much the vector field "circulates" around the closed curve. A related concept is the curl of a vector field, which is a measure of how much the vector field "curls" around a point. We can find it by considering the circulation-per-unit-area as the area shrinks to zero:
The curl is defined as the limit of the circulation-per-unit-area as the area shrinks to zero:
Unlike the divergence, the curl is a vector field, which means it takes a vector as input and produces a vector as output.
In Cartesian coordinates, the curl of a vector field
Laplacian
The Laplacian of a scalar field
It is similar to the second derivative of a function of a single variable, which is defined as the derivative of the derivative.
It can be shown that the Laplacian is a measure of the average value of the function in a small neighborhood around a point. In other words, if we take a small volume around a point and average the value of the function over that volume, the Laplacian is the rate of change of that average value as the volume shrinks to zero. The Laplacian is a scalar field, which means it takes a vector as input and produces a scalar as output.
If the Laplacian of a function is zero, then the function is said to be harmonic.
Theorems
There are a few theorems that are useful for working with vector fields.
-
Divergence theorem/Gauss's theorem, applicable for a surface enclosing a volume
: -
Stokes' theorem, applicable for a curve
bounding a surface : -
Gradient theorem, applicable for two points enclosing a curve
:
The following are some useful vector calculus identities: